import Vue from 'vue'

import {
  Input,
  Button,
  Form,
  FormItem,
  Container,
  Header,
  Aside,
  Main,
  Menu,
  Submenu,
  MenuItem,
  Tag,
  Cascader,
  Alert,
  Tabs,
  TabPane,
  Step,
  Steps,
  CheckboxGroup,
  Checkbox,
  Upload,
  Timeline,
  TimelineItem
// eslint-disable-next-line import/no-duplicates
} from 'element-ui'
// 面包屑相关的
// eslint-disable-next-line import/no-duplicates
import { Breadcrumb, BreadcrumbItem } from 'element-ui'

// 卡片相关的
// eslint-disable-next-line import/no-duplicates
import { Card } from 'element-ui'

// 栅格布局相关的
// eslint-disable-next-line import/no-duplicates
import { Row, Col } from 'element-ui'

// 表格相关的
// eslint-disable-next-line import/no-duplicates
import { Table, TableColumn } from 'element-ui'

// 开关
// eslint-disable-next-line import/no-duplicates
import { Switch } from 'element-ui'

// 提示文本
// eslint-disable-next-line import/no-duplicates
import { Tooltip } from 'element-ui'

// 分页
// eslint-disable-next-line import/no-duplicates
import { Pagination } from 'element-ui'

// 对话框
// eslint-disable-next-line import/no-duplicates
import { Dialog } from 'element-ui'

// 树形组件
// eslint-disable-next-line import/no-duplicates
import { Tree } from 'element-ui'

// 选择器
// eslint-disable-next-line import/no-duplicates
import { Select, Option } from 'element-ui'

// 如果导入的组件是以标签的方式，则以use注册
Vue.use(Button)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Input)
Vue.use(Container)
Vue.use(Header)
Vue.use(Aside)
Vue.use(Main)
Vue.use(Menu)
Vue.use(Submenu)
Vue.use(MenuItem)
Vue.use(Breadcrumb)
Vue.use(BreadcrumbItem)
Vue.use(Card)
Vue.use(Row)
Vue.use(Col)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Switch)
Vue.use(Tooltip)
Vue.use(Pagination)
Vue.use(Dialog)
Vue.use(Tag)
Vue.use(Tree)
Vue.use(Select)
Vue.use(Option)
Vue.use(Cascader)
Vue.use(Alert)
Vue.use(Tabs)
Vue.use(TabPane)
Vue.use(Step)
Vue.use(Steps)
Vue.use(Checkbox)
Vue.use(CheckboxGroup)
Vue.use(Upload)
Vue.use(Timeline)
Vue.use(TimelineItem)
